/*
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-01-30 16:35:22
 * @Description  : 部门内用户修改操作类型
 */

export interface Departments {
  departmentId: string
  roleId: string
  sizeMax: string
}

// 部门内添加用户
export interface UserDepCreateReq {
  username: string
  nickname: string
  password: string
  sizeMax: string
  sex: number
  email: string
  phone: string
  roleId: string
  departments: Departments[]
}

// 迁移用户部门
export interface UserDepMoveReq {
  userIds: string[]
  departmentId: string
  curDepId?: string
}

// 添加用户到部门
export interface UserDepCopyReq {
  userIds: string[]
  departments: Departments[]
}

// 设置部门内成员空间容量大小
export interface SetSizeMaxUserDepReq {
  userDepIds: string[]
  sizeMax: string
}
